/*
 * spi2_bsp.h
 *
 *  Created on: Dec 8, 2020
 *      Author: Administrator
 */

#ifndef SPI2_BSP_H_
#define SPI2_BSP_H_

#include	"main.h"
#include	"stm32h7xx_hal.h"

#define		SPI2_TRANS_BUF_LEN	16
#define		SPI2_RECV_BUF_LEN	16


extern	uint16_t	spi2_trans_buff[SPI2_TRANS_BUF_LEN];
extern	uint16_t	spi2_recv_buff[SPI2_RECV_BUF_LEN];



void	spi2_process(void);
void	spi2_bsp_init(void);




#endif /* SPI2_BSP_H_ */
